package org.baseflexcharts.databoard
{
	import mx.collections.ArrayCollection;
	import mx.containers.Canvas;
	
	public class BaseDataBoard extends Canvas
	{
		private var _dataProvider:ArrayCollection;
	
	    private var _xAmount:uint = 0;
	    
	    private var _yAmount:uint = 0;
	    
	    private var _yUnitValue:uint = 0;
	
	    private var _leftMargin:uint = 0;
	    
	    private var _bottomMargin:uint = 0; 
	    
	    private var _rightMargin:uint = 0;
	    
	    private var _topMargin:uint = 0;
	    
		private var _lineWeight:uint = 1;
		
		private var _lineColor:uint = 0x000000;
		
		private var _lineAlpha:Number = 1;
		
		private var _xOffset:Number = 0;
		
		public function BaseDataBoard()
		{
			super();
		}
		
		public function draw():void
		{
			//override
		}
		
		public function get dataProvider():ArrayCollection
		{
			return this._dataProvider;
		}
		
		public function set dataProvider(data:ArrayCollection):void
		{
			this._dataProvider = data;
		}
		
		public function get xAmount():uint
		{
			return this._xAmount;
		}
		
		public function set xAmount(data:uint):void
		{
			this._xAmount = data;
		}
		
		public function get yAmount():uint
		{
			return this._yAmount;
		}
		
		public function set yAmount(data:uint):void
		{
			this._yAmount = data;
		}
		
		public function get yUnitValue():uint
		{
			return this._yUnitValue;
		}
		
		public function set yUnitValue(data:uint):void
		{
			this._yUnitValue = data;
		}	
		
		public function get lineWeight():uint
		{
			return this._lineWeight;
		}
		
		public function set lineWeight(data:uint):void
		{
			this._lineWeight = data;
		}
		
		public function get lineColor():uint
		{
			return this._lineColor;
		}
		
		public function set lineColor(data:uint):void
		{
			this._lineColor = data;
		}
		
		public function get leftMargin():uint
		{
			return this._leftMargin;
		}
		
		public function set leftMargin(data:uint):void
		{
			this._leftMargin = data;
		}
		
		public function get bottomMargin():uint
		{
			return this._bottomMargin;
		}
		
		public function set bottomMargin(data:uint):void
		{
			this._bottomMargin = data;
		}
		
		public function get rightMargin():uint
		{
			return this._rightMargin;
		}
		
		public function set rightMargin(data:uint):void
		{
			this._rightMargin = data;
		}
		
		public function get topMargin():uint
		{
			return this._topMargin;
		}
		
		public function set topMargin(data:uint):void
		{
			this._topMargin = data;
		}
		
		public function get lineAlpha():Number
		{
			return this._lineAlpha;
		}
		
		public function set lineAlpha(data:Number):void
		{
			this._lineAlpha = data;
		}
		
		public function get xOffset():Number
		{
			return this._xOffset;
		}
		
		public function set xOffset(data:Number):void
		{
			this._xOffset = data;
		}
	}
}